<?php 
class usersObj 
{
	var $id;
	var $username;
	var $password;
	var $userroleID;
	var $deleteflag;
	var $datetimeLogin;
	var $webpageID;
	var $bannerID;
	var $firstname;
	var $lastname;
	var $email;
	var $phone;
	var $image;
	var $city;
	var $countryID;
	var $otherFields;

	public function TableName() { return "users";}
	public function idFieldName() { return "id";}
	public function usernameFieldName() { return "username";}
	public function passwordFieldName() { return "password";}
	public function userroleIDFieldName() { return "userroleID";}
	public function deleteflagFieldName() { return "deleteflag";}
	public function datetimeLoginFieldName() { return "datetimeLogin";}
	public function webpageIDFieldName() { return "webpageID";}
	public function bannerIDFieldName() { return "bannerID";}
	public function firstnameFieldName() { return "firstname";}
	public function lastnameFieldName() { return "lastname";}
	public function emailFieldName() { return "email";}
	public function phoneFieldName() { return "phone";}
	public function imageFieldName() { return "image";}
	public function cityFieldName() { return "city";}
	public function countryIDFieldName() { return "countryID";}

	function usersObj ($pid="",$pusername="",$ppassword="",$puserroleID="",$pdeleteflag="",$pdatetimeLogin="",$pwebpageID="",$pbannerID="",$pfirstname="",$plastname="",$pemail="",$pphone="",$pimage="",$pcity="",$pcountryID="") {

		$this->id = $pid;
		$this->username = $pusername;
		$this->password = $ppassword;
		$this->userroleID = $puserroleID;
		$this->deleteflag = $pdeleteflag;
		$this->datetimeLogin = $pdatetimeLogin;
		$this->webpageID = $pwebpageID;
		$this->bannerID = $pbannerID;
		$this->firstname = $pfirstname;
		$this->lastname = $plastname;
		$this->email = $pemail;
		$this->phone = $pphone;
		$this->image = $pimage;
		$this->city = $pcity;
		$this->countryID = $pcountryID;
	}

} 
?>